package com.zt.controller;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zt.service.EmployeeLoginLogService;
import com.zt.utils.Query;
import com.zt.utils.Result;
import org.example.systemset_pojo.EmployeeLoginLog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/EmployeeLoginLog")
public class EmployeeLoginLogController {
    @Autowired
    private EmployeeLoginLogService employeeLoginLogService;

    @RequestMapping("/selectpage")
    public Result selectPage(Query query){
        Page<EmployeeLoginLog> page1 =employeeLoginLogService.selectpage(query);
        return Result.OK(page1);
    }
}
